/*
 *   Webkul Software.
 *   @package Mobikul Application Code.
 *   @Category Mobikul
 *   @author Webkul <support@webkul.com>
 *   @Copyright (c) Webkul Software Private Limited (https://webkul.com)
 *   @license https://store.webkul.com/license.html
 *   @link https://store.webkul.com/license.html
 */



import 'package:bagisto_app_demo/screens/cart_screen/utils/cart_index.dart';

abstract class CartScreenBaseEvent{}

class RemoveCouponCartEvent extends CartScreenBaseEvent{
  CartModel? cartDetailsModel;

  RemoveCouponCartEvent(this.cartDetailsModel);
}

class AddCouponCartEvent extends CartScreenBaseEvent{
  String? code;
  AddCouponCartEvent(this.code);
}

class FetchCartDataEvent extends CartScreenBaseEvent{
}
class MoveToCartEvent extends CartScreenBaseEvent{
  int ?id;
  MoveToCartEvent(this.id);
}
class UpdateCartEvent extends CartScreenBaseEvent{
  List<Map<dynamic,String>> ? item ;
  UpdateCartEvent(this.item);
}

class RemoveCartItemEvent extends CartScreenBaseEvent{
  int? cartItemId;
  RemoveCartItemEvent({this.cartItemId});
}
class RemoveAllCartItemEvent extends CartScreenBaseEvent{
  RemoveAllCartItemEvent();
}